//
//  NSObject+HDChatFmdbManager.h
//  app
//
//  Created by D on 15/5/21.
//  Copyright (c) 2015年 hdaren. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "HDChatProductResult.h"


@interface  HDChatFmdbManager : NSObject

+(HDChatFmdbManager*)shareManager;

-(void)loadShopContent:(HDChatProductResult*)result  Extends:(NSDictionary*)extends Product:(NSString*)product_id;

-(void)createFmdb;

-(int)isRepeatFromFmdbWithPmid:(NSString*)tempPmid  Msgid:(NSString*)tempMsgid;

-(void)saveDataToDB:(NSArray *)array OwnerAddId:(NSString*)ownerAddId;

- (BOOL)fmdbIncludeChatList;

- (BOOL)fmdbIncludeData;

-(void)updata:(NSDictionary*)pushDic;


-(void)createTableWithPeople:(NSString*)uid;

-(int)isRepeatChatContentFromFmdbWithPeopleUid:(NSString*)fuid Msgid:(NSString*)tempMsgid;

-(BOOL)fmdbIncludeChatPeople:(NSString*)uid;

-(BOOL)fmdbInculdeContentDataWithPeople:(NSString *)uid;

-(void)saveDataToDbPeople:(NSArray*)array People:(NSString*)uid;

-(void)updataToChatContent:(NSDictionary*)pushDic;


-(void)saveToChatReplyDb:(NSArray*)array;

@end
